package thinkingJava.chapter13;

public class SimpleFormat {
	public static void main(String[] args) {
		int x = 5;
		float y = 3.14f;

		System.out.println("x = " + x + ", y = " + y);
		System.out.format("x = %d, y = %f \n", x, y );
		System.out.printf("x = %d, y = %f", x, y);
	}
}
